package com.renge.eduservice.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.renge.eduservice.entity.EduTeacher;
import com.renge.eduservice.entity.query.TeacherQuery;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 讲师 服务类
 * </p>
 *
 * @author testjava
 * @since 2021-05-16
 */
public interface EduTeacherService extends IService<EduTeacher> {

    void pageQuery(QueryWrapper<EduTeacher> wrapper, TeacherQuery teacherQuery);

    List<EduTeacher> Indexfindteacher();
    //前端首页讲师分页查询
    Map<String,Object> indexFindAllByPage(Integer current, Integer pagesize);

    Map<String,Object> findTeacherById(String teacherId);
}
